package com.cby.springboot.demo.service;

import com.cby.springboot.demo.bean.AdminMenu;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface AdminMenuService {

    AdminMenu findById(int id);

    List<AdminMenu> findAllByParentId(int parentId);

    List<AdminMenu> getMenusByRoleId(int rid);
}
